<?php
/**
 * Created by PhpStorm.
 * User: lenovo
 * Date: 2017/8/29
 * Time: 22:14
 * 访问数据库
 */

namespace Dao;

class UserModel{

    public function getUserInfo($userId)
    {
        $sql = '-----';

        //执行sql

        return '用户信息';

    }

}